<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Login Page</title>
    <link rel="stylesheet" href="alertMsg.css">
</head>

<body>
    <div id="overlay">
        <div id="overlay-content">正在加载</div>
    </div>
    <div class="container" id="login">
        <h2>Login</h2>
        <form id="loginForm">
            <input type="text" id="text" placeholder="Username" required>
            <input type="text" id="Receiver" placeholder="ReceiverUsername">
            <input type="submit" value="Login">
        </form>
    </div>
    <div class="container" id="chat">
        <h2>Instant Messaging</h2>
        <div class="messages" id="messages">
            
        </div>
        <form id="messageForm">
          <input type="text" id="message" placeholder="Type your message..." required>
          <input type="submit" value="Send">
        </form>
    </div>
</body>
</html>
<script src="websocket.js"></script>
<script src="websocket客户端.js"></script>

